<?php
define('ROOT', dirname(dirname(dirname(__FILE__))));// 根目录
define('APP_ROOT', dirname(dirname(__FILE__)));// 应用根目;
define('STDTIME','Y-m-d H:i:s');
// change the following paths if necessary
$yiic=ROOT.'/framework/yiic.php';
$config=APP_ROOT.'/protected/config/console.php';
date_default_timezone_set('Asia/Shanghai');
require_once($yiic);